<?php
/*
<html>
<head>
<title>Data</title>
<link rel="stylesheet" href="http://tablesorter.com/docs/css/jq.css" type="text/css" media="print, projection, screen" />
<link rel="stylesheet" href="http://tablesorter.com/themes/blue/style.css" type="text/css" media="print, projection, screen" />
<script type="text/javascript" src="http://tablesorter.com/jquery-latest.js"></script>
<script type="text/javascript" src="http://tablesorter.com/jquery.tablesorter.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#datatable").tablesorter();
});
</script>
<style type="text/css">
body {
	width: 100%;
	overflow: auto;
}
table {
	font-family: Times;
	font-size: 12px;
	border: thin solid black;
	border-collapse: collapse;
	background: white;
}
table td, th {
	border: thin solid black;
}
</style>
</head>
<body>
<?php
#echo 3;
#phpinfo();
date_default_timezone_set('America/New_York');
echo 3;
ini_set('display_errors',1);
error_reporting(-1);
require_once("./includes/bootstrap.inc");
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
$values = db_query("UPDATE system SET status=0 WHERE LOCATE('sites/all/modules',filename)");
$values = db_query("SELECT * FROM system");
$row = db_fetch_array($values);
#$row['timestamp']=date('c',$row['timestamp']);
$headers = array_keys($row);
$results=array();
$results[]=$row;
while(($row=db_fetch_array($values))) {
#	$row['timestamp']=date('c',$row['timestamp']);
	$results[]=$row;
}

echo theme_table($headers,$results,array('id'=>'datatable'));
echo 4;
?>
</body></html>
*/
require_once("./includes/bootstrap.inc");
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
global $user;
if(array_search("web_coordinator",$user->roles)===false) {
	global $base_url;
	drupal_goto($base_url);
}
else {
	phpinfo();
}
?>
